#ifndef GAMECONNECT_H_
#define GAMECONNECT_H_

#include <string>
#include "ariba/ariba.h"

using namespace ariba;
using std::string;

using_serialization;

class GameConnect : public Message {
	VSERIALIZEABLE;

public:
	GameConnect();
	GameConnect(string _name, uint32_t _timestamp);
	virtual ~GameConnect();

	string getName();
	uint32_t getTimestamp();

private:
	string name;
	uint32_t timestamp;
};

sznBeginDefault( GameConnect, X ) {
	X && T(name) && timestamp;
} sznEnd();

#endif /* GAMECONNECT_H_ */
